// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import './assets/css/reset.css'
import 'normalize.css'
import axios from 'axios'
import qs from 'qs'
import "babel-polyfill"
import ElementUI from 'element-ui'
import '../node_modules/element-ui/lib/theme-chalk/index.css'

Vue.use(ElementUI)
/* 把axios对象挂到Vue实例上面，其他组件在使用axios的时候直接  this.$http就可以了 */
Vue.prototype.$http = axios;
//post请求处理数据用
Vue.prototype.qs = qs;
Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
